home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
test.zip
/
EXAMPLE.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-04-14
|
547b
|
27 lines
@echo off
REM Example batch program using test utility.
REM Created by J. Mathews, 27-Apr-94.
md test.dir
type nul > zero
echo executable files:
for %%f in (*.* %COMSPEC% nul) do call calltest -x %f
echo.
echo files modified within last year:
for %%f in (*.* %COMSPEC% nul) do call calltest -m365 %f
echo.
echo directories:
for %%f in (*.* test.dir . .. nul) do call calltest -d %f
echo.
echo zero-length files:
for %%f in (*.* nul) do call calltest -z %f
REM Clean up tmp files/dirs
rd test.dir
del zero > nul